\hypertarget{class_q_list_object}{}\section{Q\+List\+Object Class Reference}
\label{class_q_list_object}\index{Q\+List\+Object@{Q\+List\+Object}}


The \hyperlink{class_q_list_object}{Q\+List\+Object} class is used to pass a list of object to a view page. N\+O\+TE\+: Always when you need to pass a list of object to a view page you will need to use this class, your class need to inherit from the Q\+Object class and all the methods needs to be in the public slots session.  




{\ttfamily \#include $<$qlistobject.\+h$>$}



Inheritance diagram for Q\+List\+Object\+:
% FIG 0
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_q_list_object_a035ee9dc9f035443995b9419d32b07da}{Q\+List\+Object} (Q\+Object $\ast$parent=0)
\begin{DoxyCompactList}\small\item\em This constructor can receive a parent. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{class_q_list_object_acc9db03436b596a2f274b01a81e8931c}\label{class_q_list_object_acc9db03436b596a2f274b01a81e8931c}} 
\hyperlink{class_q_list_object_acc9db03436b596a2f274b01a81e8931c}{Q\+List\+Object} (Q\+Object $\ast$parent, const std\+::initializer\+\_\+list$<$ Q\+Object $\ast$$>$ \&objects)
\begin{DoxyCompactList}\small\item\em Contructs a \hyperlink{class_q_list_object}{Q\+List\+Object} with N elements. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{class_q_list_object_af05889c002163fc36f5eaf12b88363fd}\label{class_q_list_object_af05889c002163fc36f5eaf12b88363fd}} 
\hyperlink{class_q_list_object_af05889c002163fc36f5eaf12b88363fd}{Q\+List\+Object} (const std\+::initializer\+\_\+list$<$ Q\+Object $\ast$$>$ \&objects)
\begin{DoxyCompactList}\small\item\em Contructs a \hyperlink{class_q_list_object}{Q\+List\+Object} with N elements. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{class_q_list_object_a01e06b1d249cf0dbe92b826fed0e7b76}\label{class_q_list_object_a01e06b1d249cf0dbe92b826fed0e7b76}} 
\hyperlink{class_q_list_object_a01e06b1d249cf0dbe92b826fed0e7b76}{$\sim$\+Q\+List\+Object} ()
\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
Q\+Object $\ast$ \hyperlink{class_q_list_object_a9b87308d291c9699a36849e5d8bfedd4}{operator\mbox{[}$\,$\mbox{]}} (int index) const
\begin{DoxyCompactList}\small\item\em This is an operator overload and returns a Q\+Object given an specific index. \end{DoxyCompactList}\item 
int \hyperlink{class_q_list_object_a4ded55097ea08fa5781240883a591216}{size} () const
\begin{DoxyCompactList}\small\item\em This method returns the number of elements in this \hyperlink{class_q_list_object}{Q\+List\+Object}. \end{DoxyCompactList}\item 
void \hyperlink{class_q_list_object_ad5e960eabd3e9b7d49228ea7549a9bd7}{add} (Q\+Object $\ast$object)
\begin{DoxyCompactList}\small\item\em This method add a new Q\+Object to the list. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{class_q_list_object_a8114f712189da4ae507ffb4a12eec2f3}\label{class_q_list_object_a8114f712189da4ae507ffb4a12eec2f3}} 
void \hyperlink{class_q_list_object_a8114f712189da4ae507ffb4a12eec2f3}{add} (const std\+::initializer\+\_\+list$<$ Q\+Object $\ast$$>$ \&objects)
\begin{DoxyCompactList}\small\item\em This method add a N new Q\+Objects to the list. \end{DoxyCompactList}\item 
void \hyperlink{class_q_list_object_af6bc1883142f976bfd3e82c9d0c030bb}{remove} (Q\+Object $\ast$object)
\begin{DoxyCompactList}\small\item\em This method remove and object from the list. \end{DoxyCompactList}\item 
bool \hyperlink{class_q_list_object_ad9d1f7e3c9f2563bcded31b02edc06fb}{get\+Auto\+Delete} () const
\begin{DoxyCompactList}\small\item\em get\+Auto\+Delete \end{DoxyCompactList}\item 
void \hyperlink{class_q_list_object_a6c30632fb46f8f7d404f77a9fea49bee}{set\+Auto\+Delete} (bool value)
\begin{DoxyCompactList}\small\item\em set\+Auto\+Delete \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
The \hyperlink{class_q_list_object}{Q\+List\+Object} class is used to pass a list of object to a view page. N\+O\+TE\+: Always when you need to pass a list of object to a view page you will need to use this class, your class need to inherit from the Q\+Object class and all the methods needs to be in the public slots session. 

\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_q_list_object_a035ee9dc9f035443995b9419d32b07da}\label{class_q_list_object_a035ee9dc9f035443995b9419d32b07da}} 
\index{Q\+List\+Object@{Q\+List\+Object}!Q\+List\+Object@{Q\+List\+Object}}
\index{Q\+List\+Object@{Q\+List\+Object}!Q\+List\+Object@{Q\+List\+Object}}
\subsubsection{\texorpdfstring{Q\+List\+Object()}{QListObject()}}
{\footnotesize\ttfamily Q\+List\+Object\+::\+Q\+List\+Object (\begin{DoxyParamCaption}\item[{Q\+Object $\ast$}]{parent = {\ttfamily 0} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [explicit]}}



This constructor can receive a parent. 


\begin{DoxyParams}{Parameters}
{\em Q\+Object} & $\ast$parent \+: Parent. \\
\hline
\end{DoxyParams}


\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_q_list_object_ad5e960eabd3e9b7d49228ea7549a9bd7}\label{class_q_list_object_ad5e960eabd3e9b7d49228ea7549a9bd7}} 
\index{Q\+List\+Object@{Q\+List\+Object}!add@{add}}
\index{add@{add}!Q\+List\+Object@{Q\+List\+Object}}
\subsubsection{\texorpdfstring{add()}{add()}}
{\footnotesize\ttfamily void Q\+List\+Object\+::add (\begin{DoxyParamCaption}\item[{Q\+Object $\ast$}]{object }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



This method add a new Q\+Object to the list. 


\begin{DoxyParams}{Parameters}
{\em Q\+Object} & $\ast$object \+: Object. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_q_list_object_ad9d1f7e3c9f2563bcded31b02edc06fb}\label{class_q_list_object_ad9d1f7e3c9f2563bcded31b02edc06fb}} 
\index{Q\+List\+Object@{Q\+List\+Object}!get\+Auto\+Delete@{get\+Auto\+Delete}}
\index{get\+Auto\+Delete@{get\+Auto\+Delete}!Q\+List\+Object@{Q\+List\+Object}}
\subsubsection{\texorpdfstring{get\+Auto\+Delete()}{getAutoDelete()}}
{\footnotesize\ttfamily bool Q\+List\+Object\+::get\+Auto\+Delete (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



get\+Auto\+Delete 

\begin{DoxyReturn}{Returns}

\end{DoxyReturn}
\mbox{\Hypertarget{class_q_list_object_a9b87308d291c9699a36849e5d8bfedd4}\label{class_q_list_object_a9b87308d291c9699a36849e5d8bfedd4}} 
\index{Q\+List\+Object@{Q\+List\+Object}!operator\mbox{[}\mbox{]}@{operator[]}}
\index{operator\mbox{[}\mbox{]}@{operator[]}!Q\+List\+Object@{Q\+List\+Object}}
\subsubsection{\texorpdfstring{operator[]()}{operator[]()}}
{\footnotesize\ttfamily Q\+Object$\ast$ Q\+List\+Object\+::operator\mbox{[}$\,$\mbox{]} (\begin{DoxyParamCaption}\item[{int}]{index }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



This is an operator overload and returns a Q\+Object given an specific index. 


\begin{DoxyParams}{Parameters}
{\em index} & \+: This is an integer value. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Q\+Object $\ast$ 
\end{DoxyReturn}
\mbox{\Hypertarget{class_q_list_object_af6bc1883142f976bfd3e82c9d0c030bb}\label{class_q_list_object_af6bc1883142f976bfd3e82c9d0c030bb}} 
\index{Q\+List\+Object@{Q\+List\+Object}!remove@{remove}}
\index{remove@{remove}!Q\+List\+Object@{Q\+List\+Object}}
\subsubsection{\texorpdfstring{remove()}{remove()}}
{\footnotesize\ttfamily void Q\+List\+Object\+::remove (\begin{DoxyParamCaption}\item[{Q\+Object $\ast$}]{object }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



This method remove and object from the list. 


\begin{DoxyParams}{Parameters}
{\em o} & \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_q_list_object_a6c30632fb46f8f7d404f77a9fea49bee}\label{class_q_list_object_a6c30632fb46f8f7d404f77a9fea49bee}} 
\index{Q\+List\+Object@{Q\+List\+Object}!set\+Auto\+Delete@{set\+Auto\+Delete}}
\index{set\+Auto\+Delete@{set\+Auto\+Delete}!Q\+List\+Object@{Q\+List\+Object}}
\subsubsection{\texorpdfstring{set\+Auto\+Delete()}{setAutoDelete()}}
{\footnotesize\ttfamily void Q\+List\+Object\+::set\+Auto\+Delete (\begin{DoxyParamCaption}\item[{bool}]{value }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



set\+Auto\+Delete 


\begin{DoxyParams}{Parameters}
{\em value} & \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_q_list_object_a4ded55097ea08fa5781240883a591216}\label{class_q_list_object_a4ded55097ea08fa5781240883a591216}} 
\index{Q\+List\+Object@{Q\+List\+Object}!size@{size}}
\index{size@{size}!Q\+List\+Object@{Q\+List\+Object}}
\subsubsection{\texorpdfstring{size()}{size()}}
{\footnotesize\ttfamily int Q\+List\+Object\+::size (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



This method returns the number of elements in this \hyperlink{class_q_list_object}{Q\+List\+Object}. 

\begin{DoxyReturn}{Returns}
int 
\end{DoxyReturn}


The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
/home/herik/\+C\+P\+P\+Web\+Framework/\+C\+P\+P\+Web\+Framework/cwf/qlistobject.\+h\item 
/home/herik/\+C\+P\+P\+Web\+Framework/\+C\+P\+P\+Web\+Framework/cwf/qlistobject.\+cpp\end{DoxyCompactItemize}
